#pragma once

class CGFXSMCFileManager
{
public:
	CGFXSMCFileManager(void);
	~CGFXSMCFileManager(void);

private:
	void SetPath();
	char* GetRunPath() { return m_szRunFolder; }
	char* GetRunFile() { return m_szRunFile; }
	bool LoadFileManagerDll();
	IFileManager* CreateFileManager( std::string strPath, std::string strPW, IFileManager::MANAGER_MODE MMode );
	bool ReleaseFileManager();
	bool InitializeFileManager();

public:
	bool LoadReference();
	void ReleaseReference();

private:
	char m_szRunFolder[MAX_PATH];
	char m_szRunFile[MAX_PATH];

	std::string m_strServerDep;

	HMODULE m_hGfxFileManager;
	//IFileManager* m_pFMMedia;



};

static IFileManager* g_pFMMedia;